//
//  AchievementView.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/28.
//
//

#ifndef __FruitCrush__AchievementView__
#define __FruitCrush__AchievementView__
#include "cocos2d.h"
USING_NS_CC;



class AchievementView : public cocos2d::Layer
{
public:
    CREATE_FUNC(AchievementView);
    virtual bool init() override;
    static cocos2d::Scene* createScene();
private:
    int task1_level_num = 20;
    int task2_star_num = 20;
    int passnum = 0;
    int star_level_num = 0;
    void bgInit();
    void menuInit();
    void menuCallback(Ref *sender);
    void titleInit();
};

#endif /* defined(__FruitCrush__AchievementView__) */
